Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support internationalization of text inside the website #180

Merged
merged 5 commits into from
Jan 15, 2020
Merged

Support internationalization of text inside the website #180

merged 5 commits into from
Jan 15, 2020

Conversation

orta
Copy link
Contributor

@orta orta commented Jan 15, 2020

Screen Shot 2020-01-15 at 2 37 52 PM

Note the nav above: this PR allows code inside React to be translated. Adds the website section to #100

Interesting things because of this:

  • Bumped node version of this project to minimum of 13, because that is when internationalization was added natively. We don't use any of those APIs yet (maybe never (like dates/number formatters etc) but better to be sure)

  • I switched form "leet" to "vo". The locales are verified to be real in the i8n code, and well, "leet" isn't an ISO 639-1 code. So I found the one with only 20 language speakers in the world: Volapük

As an aside, I did some work on the code syntax coloring - it now passes the a11y audits on CI.

@orta orta mentioned this pull request Jan 15, 2020
12 tasks
@github-actions
Copy link
Contributor

Messages
📖

Deployed to a PR branch - playground tsconfig old handbook

Got false positives?

Make changes to the global settings spellcheck.json in /artsy/peril-settings.

Typos for Project_Files_0.md

Line Typo
5 B1ts and d1gits for setting up the
5 B1ts and d1gits for setting up the filez
5 and d1gits for setting up the filez

Typos for noImplicitAny.md

Line Typo
6 !n s0me cases where n0 type annotatio
6 !n s0me cases where n0 type annotations r present, T
6 annotations r present, Type$cript will fall back to a type of `
19 itAny` however T$ will issue errorz whenever it would have inferr

Typos for files.md

Line Typo
25 Specifies an 4llowlist of f1l3s to include in the pr
25 Specifies an 4llowlist of f1l3s to include in the pr0gram. An
25 st of f1l3s to include in the pr0gram. An error occurs if any 0f th
25 0gram. An error occurs if any 0f the files can't be found.

Typos for Basic_Options_6172.md

Line Typo
5 These settings ar3 used to define the runtime ex
5 e the runtime expectations of ur project, how and where u want
5 of ur project, how and where u want the J$ to be emittd and
5 nd where u want the J$ to be emittd and the lvl of integ8ion you
5 the J$ to be emittd and the lvl of integ8ion you want with ex
5 $ to be emittd and the lvl of integ8ion you want with existing JS cod

Lighthouse Scores

/

Performance Accessibility Best Practices SEO Progressive Web App
0.87 1 0.93 0.88 0.74

/en/tsconfig

Performance Accessibility Best Practices SEO Progressive Web App
0.9 0.97 1 0.86 0.7

/docs/handbook/integrating-with-build-tools.html

Performance Accessibility Best Practices SEO Progressive Web App
0.93 0.93 1 0.89 0.74

Generated by 🚫 dangerJS against 95d74e7

@orta
Copy link
Contributor Author

orta commented Jan 15, 2020

back to green merges 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant